import Mock from 'mockjs';

let item = [{
		key: "/dz/all",   
		method: "get",
		param: {
			
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA|1-4': [{
					"storeid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
					"sname": "@cword(6,9)",
					"sdz": "@csentence",
					"jd": "31.269689",
					"wd": "121.305338",
					"fm": "@image('200x200')",
					"sheng": "code",
					"shengmc": "黑龙江省",
					"shi": "code",
					"shimc": "哈尔滨市",
					"qu": "code",
					"qumc": "道里区",

				}]
			});
		}
	},
	{
		key: "/dz/page",
		method: "get",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
					'current': 0,
					'size': 10,
					'pages': 6,
					'total': 55,
					"records|12": [{
						"dzid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
						"openid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
						"cover":"https://bpic.588ku.com/element_origin_min_pic/25/02/19/d8244106087c5e8d80fdbe3e602771a3.jpg",
						"dname": "@cname",
						'tel|11': /[0-9]/,
						"yj":"@increment(10000)",
						"tx":"ajsdlkfjlkdsfjlkasjdlkfjasdf",
						"sname":"@cword(6,15)",
					}]
				}
			});
		}
	},
	{
		key: "/dz/info",
		method: "get",
		prarm: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
					"dz":{
						"dzid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
						"openid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
						"cover":"https://bpic.588ku.com/element_origin_min_pic/25/02/19/d8244106087c5e8d80fdbe3e602771a3.jpg",
						"dname": "@cname",
						'tel|11': /[0-9]/,
						"yj":"@increment(10000)",
						"tx":"ajsdlkfjlkdsfjlkasjdlkfjasdf",
					},
					"adztq|6":[
						{
							"tqjlid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
							"amount" :" @integer(1000, 10000)",
							"sjje" : "@integer(1000, 10000)",
							"ccbl" : 0.1,
							"jlid":"111111",
							"jlname":"@cname",
							"ct": "@datetime",
							"zt|1": ["R","F"],
						},
						{
							"tqjlid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
							"amount" :" @integer(1000, 10000)",
							"sjje" : "@integer(1000, 10000)",
							"ccbl" : 0.1,
							"jlid":"111111",
							"jlname":"@cname",
							"ct": "@datetime",
							"zt|1": ["R","F"],
						},
						{
							"tqjlid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
							"amount" :" @integer(1000, 10000)",
							"sjje" : "@integer(1000, 10000)",
							"ccbl" : 0.1,
							"jlid":"111111",
							"jlname":"@cname",
							"ct": "@datetime",
							"zt|1": ["R","F"],
						},
						{
							"tqjlid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
							"amount" :" @integer(1000, 10000)",
							"sjje" : "@integer(1000, 10000)",
							"ccbl" : 0.1,
							"jlid":"111111",
							"jlname":"@cname",
							"ct": "@datetime",
							"zt|1": ["R","F"],
						},
					],
					"ajiaolian":{
						"jlid":"111111",
						"jlname":"@cname()",
					},
					'current': 0,
					'size': 6,
					'pages': 4,
					'total': 45,
				}
			})
		}
	},

	{
		key: "/dz/info",
		method: "post",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/dz/info",
		method: "put",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/dz/info",
		method: "delete",
		param: {
			empId: '',
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},

]
export default item;